But the substring function in Java is string.substring(int start, int end) . I want to be able to pass a start position and a length to the ... ... <看更多>
Use substring method of String class. Returns a new String that begins with the character at the specified zero-based startIndex and extends to the ... ... <看更多>